package com.warm.base.design.b_observer;

/**
 * @Date: 2019/11/21 14:19
 * @Author: LChuang
 * @Description: 具体被观察者
 */
public class ConcreteSubject extends Subject{


    @Override
    public void notifyObservers() {
        System.out.println("ConcreteSubject change");
        for(Observer observer : observers){
            observer.response();
        }
    }
}
